-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add basic support for example tag #1200
Conversation
|
||
const examples: unknown[] = []; | ||
for (const example of jsDocTags.filter((tag) => tag.name === "example")) { | ||
console.log(JSON.stringify(example.text)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops 😅
* "nested": "hello" | ||
* } | ||
* | ||
* @example Another example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @example Another example | |
* @example An invalid example |
* { | ||
* "nested": "world" | ||
* } | ||
* @example Last example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @example Last example | |
* @example Another invalid example |
Thank you. |
🚀 PR was released in |
fix #1201
Version
Published prerelease version:
v1.0.1-next.1
Changelog
🎉 This release contains work from a new contributor! 🎉
Thank you, Hadrien Milano (@hmil), for all your work!
🚀 Enhancement
🐛 Bug Fix
@description
#1177 (@Jason3S)🔩 Dependency Updates
Authors: 3